package com.itheima.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mall.mapper.FlashPromotionProductRelationMapper;
import com.itheima.mall.pojo.FlashPromotionProductRelation;
import com.itheima.mall.vo.PageResult;

import java.util.List;

public interface SmsFlashPromotionProductRelationService extends IService<FlashPromotionProductRelation> {
    void create(List<FlashPromotionProductRelation> relationList);

    void deleteRelation(Long id);

    PageResult list(Integer flashPromotionId, Integer flashPromotionSessionId, Integer pageNum, Integer pageSize);

    void updateRelation(Long id, FlashPromotionProductRelation relation);

    FlashPromotionProductRelation flashProductRelation(Long id);
}
